<%--
  Created by IntelliJ IDEA.
  User: TZZ
  Date: 2020/5/15
  Time: 12:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <%@include file="/bootstrap.jsp"%>
    <title>登录</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/login.css" type="text/css">
</head>
<body>
<header>
    <div id="">
        <img src="${pageContext.request.contextPath}/img/logo.png">
    </div>
</header>
<div id="main">
    <form action="${pageContext.request.contextPath}/LoginServlet.filter?method=login" method="post">
        <div class="login">
            <span>后台登录</span>
            <div class="input-group mb-3">
                <div class="input-group-prepend">
                    <span class="input-group-text"><i class="fa fa-user fa-fw"></i></span>
                </div>
                <input type="text" class="form-control" placeholder="用户名" id="usr" name="userName">
            </div>

            <div class="input-group mb-3">
                <div class="input-group-prepend">
                    <span class="input-group-text"><i class="fa fa-lock fa-fw"></i></span>
                </div>
                <input type="password" class="form-control" placeholder="密码" id="mail" name="userPwd">

            </div>

            <div class="input-group mb-3">
                <div class="input-group-prepend setw">
                    <span class="input-group-text"><i class="fa fa-user fa-fw"></i></span>
                    <input type="text" class="form-control yzm" placeholder="验证码">
                    <img src="img/img_code.jpg" class="img-thumbnail">
                </div>
            </div>
            <button type="submit" class="btn btn-primary">登录</button>
        </div>

    </form>
</div>

<footer>新开普Java39班学员：印志安</footer>
</body>
</html>

